<!doctype html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <title>新闻管理系统</title>
    <link rel="stylesheet" type="text/css" href="__PUBLIC__/css/admin/invalid.css">
    <link rel="stylesheet" type="text/css" href="__PUBLIC__/css/admin/reset.css">
    <link rel="stylesheet" type="text/css" href="__PUBLIC__/css/admin/style.css">
    <script type="text/javascript" src="__PUBLIC__/js/admin/jquery-1.3.2.min.js"></script>
    <script type="text/javascript" src="__PUBLIC__/js/admin/simpla.jquery.configuration.js"></script>
    <script type="text/javascript" src="__PUBLIC__/js/admin/jquery.wysiwyg.js"></script>
    <script type="text/javascript" src="__PUBLIC__/js/admin/facebox.js"></script>

    <style type="text/css">
        #siderbar-wrapper h1 {
            position: static ;
            font-size: 2.2em;
            text-align: center;
        }
        .pages span {
            background: #8FC41F;
            color: #fff;
            border: 1px solid #8FC41F;
            padding: 3px 10px;
            margin-left: 8px;
        }

        .pages a {
            border: 1px solid #666666;
            padding: 3px 10px;
            margin-left: 8px;
            text-decoration: none;
            color: #333;
            outline: none;
        }

        .pages li {
            display: inline-block;
            list-style: none;
            text-decoration: none;
            color: #58A0D3;
            margin-left: 20px;
        }
    </style>
</head>
<body>

<div id="body-wrapper">
    <div id="sidebar">
        <div id="siderbar-wrapper">
            <h1 id="sidebar-title">
            </h1>
            <div id="profile-links">
                您好,<a href="#" title="当前用户">{$username}</a>管理员 | <a
                    href="__URL__/quit" title="退出">退出</a>
            </div>

            <ul id="main-nav">
                <li><a href="#" class="nav-top-item">新闻管理</a>
                    <ul>
                        <li><a href="../Pl/index.html">评论删除</a></li>
                    </ul></li>
                <li><a href="#" class="nav-top-item">用户账号管理</a>
                    <ul>
                        <li><a href="../Yhdelete/index.html">用户删除</a></li>
                    </ul></li>
            </ul>
        </div>
    </div>
</div>

<div id="main-content">
    <ul class="shortcut-buttons-set">
        <li><a class="shortcut-button" href="__URL__/article"> <span>
						<img
                                src="__PUBLIC__/Images/admin/QQimg.png"
                                width="48" height="48"> 写新闻
				</span>
        </a></li>
    </ul>
    <div class="clear"></div>
    <div class="content-box">
        <div class="content-box-header">
            <ul class="content-box-tabs">
                <li><a href="#" class="default-tab">新闻列表（共{$news_count}篇）</a>
                </li>
            </ul>
            <div class="clear"></div>
        </div>
        <div class="content-box-content">
            <div class="tab-content default-tab" id="tab1">

                <table>
                    <thead>
                    <tr>
                        <th></th>
                        <th>文章标题</th>
                        <th>作者</th>
                        <th>添加时间</th>
                        <th>最后修改时间</th>
                        <th>选项</th>
                    </tr>
                    </thead>
                    <tbody>
                    <volist name="news_list" id="vo">
                        <tr>
                            <td></td>
                            <td>{$vo.wzname}</td>
                            <td>{$vo.author}</td>
                            <td>{$vo.createtime}</td>
                            <td>{$vo.lasttime}</td>
                            <td><a href="__URL__/edit/id/{$vo.id}"> <img
                                    src="__PUBLIC__/Images/admin/icons/pencil.png" width="16"
                                    height="16" title="编辑">
                            </a> <a href="__URL__/delete/id/{$vo.id}" onclick="if(confirm('确认删除？')===false) return false;"> <img
                                    src="__PUBLIC__/Images/admin/icons/cross.png" width="16"
                                    height="16"  title="删除"></a></td>
                        </tr>.
                    </volist>
                    </tbody>
                </table>

            </div>
        </div>
    </div>
    <div class="pages">{$pages}</div>
</div>
</body>
</html>